package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 节目对象 program_info
 *
 * @author ruoyi
 * @date 2021-03-19
 */
public class ProgramInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 对象类型 */
    @Excel(name = "对象类型")
    private String elementtype;

    /** 操作类型(发布－REGIST,更新－UPDATE,删除－DELETE,审核－CHECK) */
    @Excel(name = "操作类型(发布－REGIST,更新－UPDATE,删除－DELETE,审核－CHECK)")
    private String action;

    /** 全局唯一标识code */
    @Excel(name = "全局唯一标识code")
    private String code;

    /** 父对象标识 */
    @Excel(name = "父对象标识")
    private String pcode;

    /** 节目名称 */
    @Excel(name = "节目名称")
    private String name;

    /** 分集数 */
    @Excel(name = "分集数")
    private String volumncount;

    /** 期数 */
    @Excel(name = "期数")
    private String period;

    /** 副标题名称 */
    @Excel(name = "副标题名称")
    private String vname;

    /** 主海报 */
    @Excel(name = "主海报")
    private String posterurl1;

    /** 副海报 */
    @Excel(name = "副海报")
    private String posterurl2;

    /** 上线状态标志(0:上线,1:下线) */
    @Excel(name = "上线状态标志(0:上线,1:下线)",readConverterExp = "0=上线,1=下线")
    private String status;

    /** 是否计费(0免费，1付费) */
    @Excel(name = "是否计费(0免费，1付费)",readConverterExp = "0=免费,1=付费")
    private String bcharging;

    /** 是否预告片(0:正片,1预告片) */
    @Excel(name = "是否预告片(0:正片,1预告片)",readConverterExp = "0=正片,1=预告片")
    private String bpreview;

    /** 是否删除(0:未删除,1:已删除) */
    /*@Excel(name = "是否删除(0:未删除,1:已删除)")*/
    private String delflag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setElementtype(String elementtype)
    {
        this.elementtype = elementtype;
    }

    public String getElementtype()
    {
        return elementtype;
    }
    public void setAction(String action)
    {
        this.action = action;
    }

    public String getAction()
    {
        return action;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setPcode(String pcode)
    {
        this.pcode = pcode;
    }

    public String getPcode()
    {
        return pcode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setVolumncount(String volumncount)
    {
        this.volumncount = volumncount;
    }

    public String getVolumncount()
    {
        return volumncount;
    }
    public void setPeriod(String period)
    {
        this.period = period;
    }

    public String getPeriod()
    {
        return period;
    }
    public void setVname(String vname)
    {
        this.vname = vname;
    }

    public String getVname()
    {
        return vname;
    }
    public void setPosterurl1(String posterurl1)
    {
        this.posterurl1 = posterurl1;
    }

    public String getPosterurl1()
    {
        return posterurl1;
    }
    public void setPosterurl2(String posterurl2)
    {
        this.posterurl2 = posterurl2;
    }

    public String getPosterurl2()
    {
        return posterurl2;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setBcharging(String bcharging)
    {
        this.bcharging = bcharging;
    }

    public String getBcharging()
    {
        return bcharging;
    }
    public void setBpreview(String bpreview)
    {
        this.bpreview = bpreview;
    }

    public String getBpreview()
    {
        return bpreview;
    }
    public void setDelflag(String delflag)
    {
        this.delflag = delflag;
    }

    public String getDelflag()
    {
        return delflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementtype", getElementtype())
            .append("action", getAction())
            .append("code", getCode())
            .append("pcode", getPcode())
            .append("name", getName())
            .append("volumncount", getVolumncount())
            .append("period", getPeriod())
            .append("vname", getVname())
            .append("posterurl1", getPosterurl1())
            .append("posterurl2", getPosterurl2())
            .append("status", getStatus())
            .append("bcharging", getBcharging())
            .append("bpreview", getBpreview())
            .append("delflag", getDelflag())
            .toString();
    }
}
